package com.runfast.waimai.dao.model;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class
RunfastGoodsSellRecord implements Serializable {
    private Integer id;

    private Integer businessId;

    private String businessName;

    private String content;

    private Date createTime;

    private Integer goodsSellId;

    private String goodsSellName;

    private String orderCode;


    private BigDecimal price;//商品原总价格

 //   private BigDecimal price;//价格

 //   private BigDecimal price;



    private Integer status;//订单状态编码-3:商家拒单-1：订单取消  0：客户下单，1：客户已付款  2：商家接单  3：骑手接单   4：商品打包 ，5：商品配送 6：商品送达，7:确认收货 ，8：订单完成 9异常单

  //  private Integer status;//订单状态编码-3:商家拒单-1：订单取消  0：客户下单，1：客户已付款  2：商家接单  3：骑手接单   4：商品打包 ，5：商品配送 6：商品送达，7:确认收货 ，8：订单完成

  //  private Integer status;

    private String userAddress;

    private Integer userId;

    private String userMobile;

    private String userName;

    private String shopper;

    private Integer shopperId;

    private Integer goodsTotal;

    private Integer userAddressId;

    private Double yhprice;

    private BigDecimal packing;

    private BigDecimal showps;


    private String statstr;//订单状态编码 -1：订单取消  0：客户下单，1：客户已付款  2：商家接单  3：骑手接单   4：商品打包 ，5：商品配送 6：商品送达，7:确认收货 ，8：订单完成 9异常单

//    private String statstr;//订单状态编码 -1：订单取消  0：客户下单，1：客户已付款  2：商家接单  3：骑手接单   4：商品打包 ，5：商品配送 6：商品送达，7:确认收货 ，8：订单完成

    private String statStr;


    private Date endDate;

    private Integer rid;

    private Date startDate;

    private BigDecimal totalpay;

    private String distance;

    private Integer iswithdraw;

    private String address;//用户地址id




    private Integer businessdel;//商家是否删除 1：已删除 ，其他正常状态

//    private Integer businessdel;//商家是否删除 1：已删除 ，其他正常状态

    private Integer businessDel;


    private Integer isPay;


    private Integer isrefund;//是否退款； 1：全额退款，2部分退款 ， 其他未退款

 //   private Integer isrefund;//是否退款； 1：全额退款，2部分退款 ， 其他未退款e

    private Integer isRefund;


    private Integer userDel;

    private Integer isComent;

    private Integer isReceive;

    private Integer isCancel;

    private BigDecimal commisson;//该笔订单骑手分红


    private BigDecimal shoppermoney;//配送员这个订单所得配送费

//    private BigDecimal shoppermoney;

    private BigDecimal shopperMoney;


    private String businessAddressLat;

    private String businessAddressLng;

    private String userAddressLat;

    private String userAddressLng;


    private String businessaddr;//商家地址

//    private String businessaddr;

    private String businessAddr;


    private BigDecimal businesspay;////商家部分(商家餐费+配送费(自己配送)+打包费)

    private BigDecimal refund;//退款金额


    private Integer isdeliver;//是否商家自己配送0否1是

 //   private Integer isdeliver;

    private Integer isDeliver;

    private String qrcode;

    private String refundcontext;//拒单原因

    private BigDecimal businessget;//总佣金=商家拥有系数*（商家部分-配送费）

    private String cityId;

    private String cityName;


    private String countyid;//县份（废弃）

 //   private String countyid;

    private String countyId;



    private String countyname;//县份（废弃）

 //   private String countyname;

    private String countyName;



    private String townid;//乡镇（废弃）

 //   private String townid;

    private String townId;


    private String townName;


    private Integer agentid;//代理商ID

//    private Integer agentid;

    private Integer agentId;



    private String agentname;//代理商名字

//    private String agentname;

    private String agentName;



    private String businessmobile;//商家电话

//    private String businessmobile;

    private String businessMobile;

    private Double nocharge;//基础配送距离

 //   private Double nocharge;

    private Double noCharge;


    private String shopperMobile;


    private Integer shoppersign;//签到

//    private Integer shoppersign;

    private Integer shopperSign;



    private Integer activityid;//活动id

 //   private Integer activityid;

    private Integer activityId;


    private String activityname;//活动名称

    private BigDecimal activityprice;//活动优惠金额

    private BigDecimal disprice;//原价的总金额（商品金额）


    private Integer distributiontime;//大约送达时间(分钟)

//    private Integer distributiontime;

    private Integer distributionTime;



    private String oldshopper;//原先的骑手

  //  private String oldshopper;

    private String oldShopper;

    private Integer oldshopperid;//原先的骑手 ID

 //   private Integer oldshopperid;

    private Integer oldShopperId;

    private String oldshoppermobile;//原先的骑手id

//    private String oldshoppermobile;

    private String oldShopperMobile;


    private BigDecimal agentget;//平台佣金


    private Date acepttime;//商家接单时间

//    private Date acepttime;

    private Date aceptTime;



    private Date paytime;//支付时间

 //   private Date paytime;

    private Date payTime;


    private Integer ismute;//-1商家未接单订单自动取消 0商家拒单1代理商确认取消2平台确认取消3商家确认取消

    private Integer isClearing;


    private Date refundtime;//退款时间

 //   private Date refundtime;

    private Date refundTime;


    private Integer refundtype;//退款类型

//    private Integer refundtype;

    private Integer refundType;

    private BigDecimal agentbusget;//上级代理商佣金

 //   private BigDecimal agentbusget;

    private BigDecimal agentBusget;


    private BigDecimal acoefficient;

    private BigDecimal acoefficient2;


    private BigDecimal agentbusget2;//上级代理商佣金

//    private BigDecimal agentbusget2;

    private BigDecimal agentBusget2;


    private BigDecimal coefficient;

    private Integer isfirst;//是否2级代理商下的商家1是0否

    private Integer ptype;

    private BigDecimal zjzd;

    private Integer range1;//使用范围 1 全部 2指定商家3指定代理商

    private Integer stype;

    private String couponname;

    private Integer payType;

    private Integer orderNumber;

    private Date accptTime;

    private Integer isaccpt;//isaccpt	是否收到推送 1是

    private Integer pushType;


    private String userphone;//用户手机

//    private String userphone;

    private String userPhone;


    private Integer appOrwx;

    private Date readyTime;

    private Date disTime;

    private Integer errend;

    private Integer teamid;

    private String teamname;

    private Integer istimerefund;

    private Integer issubsidy;

    private BigDecimal lessps;

    private BigDecimal subsidy;

    private Integer agree;

    private String content1;//广告内容

    private static final long serialVersionUID = 1L;

    List<RunfastGoodsSellChildren> runfastGoodsSellChildren;
    public List<RunfastGoodsSellChildren> getRunfastGoodsSellChildren() {
        return runfastGoodsSellChildren;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public void setGoodsSellRecordChildren(List<RunfastGoodsSellChildren> runfastGoodsSellChildren) {
        this.runfastGoodsSellChildren=runfastGoodsSellChildren;
    }

//    List<RunfastGoodsSellChildren> runfastGoodsSellChildren;
//    public void setGoodsSellRecordChildren(List<RunfastGoodsSellChildren> runfastGoodsSellChildren) {
//        this.runfastGoodsSellChildren=runfastGoodsSellChildren;
//    }

    public Integer getId() {
        return id;
    }

    public RunfastGoodsSellRecord withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBusinessId() {
        return businessId;
    }

    public RunfastGoodsSellRecord withBusinessId(Integer businessId) {
        this.setBusinessId(businessId);
        return this;
    }

    public void setBusinessId(Integer businessId) {
        this.businessId = businessId;
    }

    public String getBusinessName() {
        return businessName;
    }

    public RunfastGoodsSellRecord withBusinessName(String businessName) {
        this.setBusinessName(businessName);
        return this;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName == null ? null : businessName.trim();
    }

    public String getContent() {
        return content;
    }

    public RunfastGoodsSellRecord withContent(String content) {
        this.setContent(content);
        return this;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public RunfastGoodsSellRecord withCreateTime(Date createTime) {
        this.setCreateTime(createTime);
        return this;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getGoodsSellId() {
        return goodsSellId;
    }

    public RunfastGoodsSellRecord withGoodsSellId(Integer goodsSellId) {
        this.setGoodsSellId(goodsSellId);
        return this;
    }

    public void setGoodsSellId(Integer goodsSellId) {
        this.goodsSellId = goodsSellId;
    }

    public String getGoodsSellName() {
        return goodsSellName;
    }

    public RunfastGoodsSellRecord withGoodsSellName(String goodsSellName) {
        this.setGoodsSellName(goodsSellName);
        return this;
    }

    public void setGoodsSellName(String goodsSellName) {
        this.goodsSellName = goodsSellName == null ? null : goodsSellName.trim();
    }

    public String getOrderCode() {
        return orderCode;
    }

    public RunfastGoodsSellRecord withOrderCode(String orderCode) {
        this.setOrderCode(orderCode);
        return this;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode == null ? null : orderCode.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public RunfastGoodsSellRecord withPrice(BigDecimal price) {
        this.setPrice(price);
        return this;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStatus() {
        return status;
    }

    public RunfastGoodsSellRecord withStatus(Integer status) {
        this.setStatus(status);
        return this;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getUserAddress() {
        return userAddress;
    }

    public RunfastGoodsSellRecord withUserAddress(String userAddress) {
        this.setUserAddress(userAddress);
        return this;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress == null ? null : userAddress.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public RunfastGoodsSellRecord withUserId(Integer userId) {
        this.setUserId(userId);
        return this;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserMobile() {
        return userMobile;
    }

    public RunfastGoodsSellRecord withUserMobile(String userMobile) {
        this.setUserMobile(userMobile);
        return this;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile == null ? null : userMobile.trim();
    }

    public String getUserName() {
        return userName;
    }

    public RunfastGoodsSellRecord withUserName(String userName) {
        this.setUserName(userName);
        return this;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getShopper() {
        return shopper;
    }

    public RunfastGoodsSellRecord withShopper(String shopper) {
        this.setShopper(shopper);
        return this;
    }

    public void setShopper(String shopper) {
        this.shopper = shopper == null ? null : shopper.trim();
    }

    public Integer getShopperId() {
        return shopperId;
    }

    public RunfastGoodsSellRecord withShopperId(Integer shopperId) {
        this.setShopperId(shopperId);
        return this;
    }

    public void setShopperId(Integer shopperId) {
        this.shopperId = shopperId;
    }

    public Integer getGoodsTotal() {
        return goodsTotal;
    }

    public RunfastGoodsSellRecord withGoodsTotal(Integer goodsTotal) {
        this.setGoodsTotal(goodsTotal);
        return this;
    }

    public void setGoodsTotal(Integer goodsTotal) {
        this.goodsTotal = goodsTotal;
    }

    public Integer getUserAddressId() {
        return userAddressId;
    }

    public RunfastGoodsSellRecord withUserAddressId(Integer userAddressId) {
        this.setUserAddressId(userAddressId);
        return this;
    }

    public void setUserAddressId(Integer userAddressId) {
        this.userAddressId = userAddressId;
    }

    public Double getYhprice() {
        return yhprice;
    }

    public RunfastGoodsSellRecord withYhprice(Double yhprice) {
        this.setYhprice(yhprice);
        return this;
    }

    public void setYhprice(Double yhprice) {
        this.yhprice = yhprice;
    }

    public BigDecimal getPacking() {
        return packing;
    }

    public RunfastGoodsSellRecord withPacking(BigDecimal packing) {
        this.setPacking(packing);
        return this;
    }

    public void setPacking(BigDecimal packing) {
        this.packing = packing;
    }

    public BigDecimal getShowps() {
        return showps;
    }

    public RunfastGoodsSellRecord withShowps(BigDecimal showps) {
        this.setShowps(showps);
        return this;
    }

    public void setShowps(BigDecimal showps) {
        this.showps = showps;
    }

    public String getStatStr() {
        return statStr;
    }

    public RunfastGoodsSellRecord withStatStr(String statStr) {
        this.setStatStr(statStr);
        return this;
    }

    public void setStatStr(String statStr) {
        this.statStr = statStr == null ? null : statStr.trim();
    }

    public Date getEndDate() {
        return endDate;
    }

    public RunfastGoodsSellRecord withEndDate(Date endDate) {
        this.setEndDate(endDate);
        return this;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Integer getRid() {
        return rid;
    }

    public RunfastGoodsSellRecord withRid(Integer rid) {
        this.setRid(rid);
        return this;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public Date getStartDate() {
        return startDate;
    }

    public RunfastGoodsSellRecord withStartDate(Date startDate) {
        this.setStartDate(startDate);
        return this;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public BigDecimal getTotalpay() {
        return totalpay;
    }

    public RunfastGoodsSellRecord withTotalpay(BigDecimal totalpay) {
        this.setTotalpay(totalpay);
        return this;
    }

    public void setTotalpay(BigDecimal totalpay) {
        this.totalpay = totalpay;
    }

    public String getDistance() {
        return distance;
    }

    public RunfastGoodsSellRecord withDistance(String distance) {
        this.setDistance(distance);
        return this;
    }

    public void setDistance(String distance) {
        this.distance = distance == null ? null : distance.trim();
    }

    public Integer getIswithdraw() {
        return iswithdraw;
    }

    public RunfastGoodsSellRecord withIswithdraw(Integer iswithdraw) {
        this.setIswithdraw(iswithdraw);
        return this;
    }

    public void setIswithdraw(Integer iswithdraw) {
        this.iswithdraw = iswithdraw;
    }

    public String getAddress() {
        return address;
    }

    public RunfastGoodsSellRecord withAddress(String address) {
        this.setAddress(address);
        return this;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Integer getBusinessDel() {
        return businessDel;
    }

    public RunfastGoodsSellRecord withBusinessDel(Integer businessDel) {
        this.setBusinessDel(businessDel);
        return this;
    }

    public void setBusinessDel(Integer businessDel) {
        this.businessDel = businessDel;
    }

    public Integer getIsPay() {
        return isPay;
    }

    public RunfastGoodsSellRecord withIsPay(Integer isPay) {
        this.setIsPay(isPay);
        return this;
    }

    public void setIsPay(Integer isPay) {
        this.isPay = isPay;
    }

    public Integer getIsRefund() {
        return isRefund;
    }

    public RunfastGoodsSellRecord withIsRefund(Integer isRefund) {
        this.setIsRefund(isRefund);
        return this;
    }

    public void setIsRefund(Integer isRefund) {
        this.isRefund = isRefund;
    }

    public Integer getUserDel() {
        return userDel;
    }

    public RunfastGoodsSellRecord withUserDel(Integer userDel) {
        this.setUserDel(userDel);
        return this;
    }

    public void setUserDel(Integer userDel) {
        this.userDel = userDel;
    }

    public Integer getIsComent() {
        return isComent;
    }

    public RunfastGoodsSellRecord withIsComent(Integer isComent) {
        this.setIsComent(isComent);
        return this;
    }

    public void setIsComent(Integer isComent) {
        this.isComent = isComent;
    }

    public Integer getIsReceive() {
        return isReceive;
    }

    public RunfastGoodsSellRecord withIsReceive(Integer isReceive) {
        this.setIsReceive(isReceive);
        return this;
    }

    public void setIsReceive(Integer isReceive) {
        this.isReceive = isReceive;
    }

    public Integer getIsCancel() {
        return isCancel;
    }

    public RunfastGoodsSellRecord withIsCancel(Integer isCancel) {
        this.setIsCancel(isCancel);
        return this;
    }

    public void setIsCancel(Integer isCancel) {
        this.isCancel = isCancel;
    }

    public BigDecimal getCommisson() {
        return commisson;
    }

    public RunfastGoodsSellRecord withCommisson(BigDecimal commisson) {
        this.setCommisson(commisson);
        return this;
    }

    public void setCommisson(BigDecimal commisson) {
        this.commisson = commisson;
    }

    public BigDecimal getShopperMoney() {
        return shopperMoney;
    }

    public RunfastGoodsSellRecord withShopperMoney(BigDecimal shopperMoney) {
        this.setShopperMoney(shopperMoney);
        return this;
    }

    public void setShopperMoney(BigDecimal shopperMoney) {
        this.shopperMoney = shopperMoney;
    }

    public String getBusinessAddressLat() {
        return businessAddressLat;
    }

    public RunfastGoodsSellRecord withBusinessAddressLat(String businessAddressLat) {
        this.setBusinessAddressLat(businessAddressLat);
        return this;
    }

    public void setBusinessAddressLat(String businessAddressLat) {
        this.businessAddressLat = businessAddressLat == null ? null : businessAddressLat.trim();
    }

    public String getBusinessAddressLng() {
        return businessAddressLng;
    }

    public RunfastGoodsSellRecord withBusinessAddressLng(String businessAddressLng) {
        this.setBusinessAddressLng(businessAddressLng);
        return this;
    }

    public void setBusinessAddressLng(String businessAddressLng) {
        this.businessAddressLng = businessAddressLng == null ? null : businessAddressLng.trim();
    }

    public String getUserAddressLat() {
        return userAddressLat;
    }

    public RunfastGoodsSellRecord withUserAddressLat(String userAddressLat) {
        this.setUserAddressLat(userAddressLat);
        return this;
    }

    public void setUserAddressLat(String userAddressLat) {
        this.userAddressLat = userAddressLat == null ? null : userAddressLat.trim();
    }

    public String getUserAddressLng() {
        return userAddressLng;
    }

    public RunfastGoodsSellRecord withUserAddressLng(String userAddressLng) {
        this.setUserAddressLng(userAddressLng);
        return this;
    }

    public void setUserAddressLng(String userAddressLng) {
        this.userAddressLng = userAddressLng == null ? null : userAddressLng.trim();
    }

    public String getBusinessAddr() {
        return businessAddr;
    }

    public RunfastGoodsSellRecord withBusinessAddr(String businessAddr) {
        this.setBusinessAddr(businessAddr);
        return this;
    }

    public void setBusinessAddr(String businessAddr) {
        this.businessAddr = businessAddr == null ? null : businessAddr.trim();
    }

    public BigDecimal getBusinesspay() {
        return businesspay;
    }

    public RunfastGoodsSellRecord withBusinesspay(BigDecimal businesspay) {
        this.setBusinesspay(businesspay);
        return this;
    }

    public void setBusinesspay(BigDecimal businesspay) {
        this.businesspay = businesspay;
    }

    public BigDecimal getRefund() {
        return refund;
    }

    public RunfastGoodsSellRecord withRefund(BigDecimal refund) {
        this.setRefund(refund);
        return this;
    }

    public void setRefund(BigDecimal refund) {
        this.refund = refund;
    }

    public Integer getIsDeliver() {
        return isDeliver;
    }

    public RunfastGoodsSellRecord withIsDeliver(Integer isDeliver) {
        this.setIsDeliver(isDeliver);
        return this;
    }

    public void setIsDeliver(Integer isDeliver) {
        this.isDeliver = isDeliver;
    }

    public String getQrcode() {
        return qrcode;
    }

    public RunfastGoodsSellRecord withQrcode(String qrcode) {
        this.setQrcode(qrcode);
        return this;
    }

    public void setQrcode(String qrcode) {
        this.qrcode = qrcode == null ? null : qrcode.trim();
    }

    public String getRefundcontext() {
        return refundcontext;
    }

    public RunfastGoodsSellRecord withRefundcontext(String refundcontext) {
        this.setRefundcontext(refundcontext);
        return this;
    }

    public void setRefundcontext(String refundcontext) {
        this.refundcontext = refundcontext == null ? null : refundcontext.trim();
    }

    public BigDecimal getBusinessget() {
        return businessget;
    }

    public RunfastGoodsSellRecord withBusinessget(BigDecimal businessget) {
        this.setBusinessget(businessget);
        return this;
    }

    public void setBusinessget(BigDecimal businessget) {
        this.businessget = businessget;
    }

    public String getCityId() {
        return cityId;
    }

    public RunfastGoodsSellRecord withCityId(String cityId) {
        this.setCityId(cityId);
        return this;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId == null ? null : cityId.trim();
    }

    public String getCityName() {
        return cityName;
    }

    public RunfastGoodsSellRecord withCityName(String cityName) {
        this.setCityName(cityName);
        return this;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName == null ? null : cityName.trim();
    }

    public String getCountyId() {
        return countyId;
    }

    public RunfastGoodsSellRecord withCountyId(String countyId) {
        this.setCountyId(countyId);
        return this;
    }

    public void setCountyId(String countyId) {
        this.countyId = countyId == null ? null : countyId.trim();
    }

    public String getCountyName() {
        return countyName;
    }

    public RunfastGoodsSellRecord withCountyName(String countyName) {
        this.setCountyName(countyName);
        return this;
    }

    public void setCountyName(String countyName) {
        this.countyName = countyName == null ? null : countyName.trim();
    }

    public String getTownId() {
        return townId;
    }

    public RunfastGoodsSellRecord withTownId(String townId) {
        this.setTownId(townId);
        return this;
    }

    public void setTownId(String townId) {
        this.townId = townId == null ? null : townId.trim();
    }

    public String getTownName() {
        return townName;
    }

    public RunfastGoodsSellRecord withTownName(String townName) {
        this.setTownName(townName);
        return this;
    }

    public void setTownName(String townName) {
        this.townName = townName == null ? null : townName.trim();
    }

    public Integer getAgentId() {
        return agentId;
    }

    public RunfastGoodsSellRecord withAgentId(Integer agentId) {
        this.setAgentId(agentId);
        return this;
    }

    public void setAgentId(Integer agentId) {
        this.agentId = agentId;
    }

    public String getAgentName() {
        return agentName;
    }

    public RunfastGoodsSellRecord withAgentName(String agentName) {
        this.setAgentName(agentName);
        return this;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName == null ? null : agentName.trim();
    }

    public String getBusinessMobile() {
        return businessMobile;
    }

    public RunfastGoodsSellRecord withBusinessMobile(String businessMobile) {
        this.setBusinessMobile(businessMobile);
        return this;
    }

    public void setBusinessMobile(String businessMobile) {
        this.businessMobile = businessMobile == null ? null : businessMobile.trim();
    }

    public Double getNoCharge() {
        return noCharge;
    }

    public RunfastGoodsSellRecord withNoCharge(Double noCharge) {
        this.setNoCharge(noCharge);
        return this;
    }

    public void setNoCharge(Double noCharge) {
        this.noCharge = noCharge;
    }

    public String getShopperMobile() {
        return shopperMobile;
    }

    public RunfastGoodsSellRecord withShopperMobile(String shopperMobile) {
        this.setShopperMobile(shopperMobile);
        return this;
    }

    public void setShopperMobile(String shopperMobile) {
        this.shopperMobile = shopperMobile == null ? null : shopperMobile.trim();
    }

    public Integer getShopperSign() {
        return shopperSign;
    }

    public RunfastGoodsSellRecord withShopperSign(Integer shopperSign) {
        this.setShopperSign(shopperSign);
        return this;
    }

    public void setShopperSign(Integer shopperSign) {
        this.shopperSign = shopperSign;
    }

    public Integer getActivityId() {
        return activityId;
    }

    public RunfastGoodsSellRecord withActivityId(Integer activityId) {
        this.setActivityId(activityId);
        return this;
    }

    public void setActivityId(Integer activityId) {
        this.activityId = activityId;
    }

    public String getActivityname() {
        return activityname;
    }

    public RunfastGoodsSellRecord withActivityname(String activityname) {
        this.setActivityname(activityname);
        return this;
    }

    public void setActivityname(String activityname) {
        this.activityname = activityname == null ? null : activityname.trim();
    }

    public BigDecimal getActivityprice() {
        return activityprice;
    }

    public RunfastGoodsSellRecord withActivityprice(BigDecimal activityprice) {
        this.setActivityprice(activityprice);
        return this;
    }

    public void setActivityprice(BigDecimal activityprice) {
        this.activityprice = activityprice;
    }

    public BigDecimal getDisprice() {
        return disprice;
    }

    public RunfastGoodsSellRecord withDisprice(BigDecimal disprice) {
        this.setDisprice(disprice);
        return this;
    }

    public void setDisprice(BigDecimal disprice) {
        this.disprice = disprice;
    }

    public Integer getDistributionTime() {
        return distributionTime;
    }

    public RunfastGoodsSellRecord withDistributionTime(Integer distributionTime) {
        this.setDistributionTime(distributionTime);
        return this;
    }

    public void setDistributionTime(Integer distributionTime) {
        this.distributionTime = distributionTime;
    }

    public String getOldShopper() {
        return oldShopper;
    }

    public RunfastGoodsSellRecord withOldShopper(String oldShopper) {
        this.setOldShopper(oldShopper);
        return this;
    }

    public void setOldShopper(String oldShopper) {
        this.oldShopper = oldShopper == null ? null : oldShopper.trim();
    }

    public Integer getOldShopperId() {
        return oldShopperId;
    }

    public RunfastGoodsSellRecord withOldShopperId(Integer oldShopperId) {
        this.setOldShopperId(oldShopperId);
        return this;
    }

    public void setOldShopperId(Integer oldShopperId) {
        this.oldShopperId = oldShopperId;
    }

    public String getOldShopperMobile() {
        return oldShopperMobile;
    }

    public RunfastGoodsSellRecord withOldShopperMobile(String oldShopperMobile) {
        this.setOldShopperMobile(oldShopperMobile);
        return this;
    }

    public void setOldShopperMobile(String oldShopperMobile) {
        this.oldShopperMobile = oldShopperMobile == null ? null : oldShopperMobile.trim();
    }

    public BigDecimal getAgentget() {
        return agentget;
    }

    public RunfastGoodsSellRecord withAgentget(BigDecimal agentget) {
        this.setAgentget(agentget);
        return this;
    }

    public void setAgentget(BigDecimal agentget) {
        this.agentget = agentget;
    }

    public Date getAceptTime() {
        return aceptTime;
    }

    public RunfastGoodsSellRecord withAceptTime(Date aceptTime) {
        this.setAceptTime(aceptTime);
        return this;
    }

    public void setAceptTime(Date aceptTime) {
        this.aceptTime = aceptTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public RunfastGoodsSellRecord withPayTime(Date payTime) {
        this.setPayTime(payTime);
        return this;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getIsmute() {
        return ismute;
    }

    public RunfastGoodsSellRecord withIsmute(Integer ismute) {
        this.setIsmute(ismute);
        return this;
    }

    public void setIsmute(Integer ismute) {
        this.ismute = ismute;
    }

    public Integer getIsClearing() {
        return isClearing;
    }

    public RunfastGoodsSellRecord withIsClearing(Integer isClearing) {
        this.setIsClearing(isClearing);
        return this;
    }

    public void setIsClearing(Integer isClearing) {
        this.isClearing = isClearing;
    }

    public Date getRefundTime() {
        return refundTime;
    }

    public RunfastGoodsSellRecord withRefundTime(Date refundTime) {
        this.setRefundTime(refundTime);
        return this;
    }

    public void setRefundTime(Date refundTime) {
        this.refundTime = refundTime;
    }

    public Integer getRefundType() {
        return refundType;
    }

    public RunfastGoodsSellRecord withRefundType(Integer refundType) {
        this.setRefundType(refundType);
        return this;
    }

    public void setRefundType(Integer refundType) {
        this.refundType = refundType;
    }

    public BigDecimal getAgentBusget() {
        return agentBusget;
    }

    public RunfastGoodsSellRecord withAgentBusget(BigDecimal agentBusget) {
        this.setAgentBusget(agentBusget);
        return this;
    }

    public void setAgentBusget(BigDecimal agentBusget) {
        this.agentBusget = agentBusget;
    }

    public BigDecimal getAcoefficient() {
        return acoefficient;
    }

    public RunfastGoodsSellRecord withAcoefficient(BigDecimal acoefficient) {
        this.setAcoefficient(acoefficient);
        return this;
    }

    public void setAcoefficient(BigDecimal acoefficient) {
        this.acoefficient = acoefficient;
    }

    public BigDecimal getAcoefficient2() {
        return acoefficient2;
    }

    public RunfastGoodsSellRecord withAcoefficient2(BigDecimal acoefficient2) {
        this.setAcoefficient2(acoefficient2);
        return this;
    }

    public void setAcoefficient2(BigDecimal acoefficient2) {
        this.acoefficient2 = acoefficient2;
    }

    public BigDecimal getAgentBusget2() {
        return agentBusget2;
    }

    public RunfastGoodsSellRecord withAgentBusget2(BigDecimal agentBusget2) {
        this.setAgentBusget2(agentBusget2);
        return this;
    }

    public void setAgentBusget2(BigDecimal agentBusget2) {
        this.agentBusget2 = agentBusget2;
    }

    public BigDecimal getCoefficient() {
        return coefficient;
    }

    public RunfastGoodsSellRecord withCoefficient(BigDecimal coefficient) {
        this.setCoefficient(coefficient);
        return this;
    }

    public void setCoefficient(BigDecimal coefficient) {
        this.coefficient = coefficient;
    }

    public Integer getIsfirst() {
        return isfirst;
    }

    public RunfastGoodsSellRecord withIsfirst(Integer isfirst) {
        this.setIsfirst(isfirst);
        return this;
    }

    public void setIsfirst(Integer isfirst) {
        this.isfirst = isfirst;
    }

    public Integer getPtype() {
        return ptype;
    }

    public RunfastGoodsSellRecord withPtype(Integer ptype) {
        this.setPtype(ptype);
        return this;
    }

    public void setPtype(Integer ptype) {
        this.ptype = ptype;
    }

    public BigDecimal getZjzd() {
        return zjzd;
    }

    public RunfastGoodsSellRecord withZjzd(BigDecimal zjzd) {
        this.setZjzd(zjzd);
        return this;
    }

    public void setZjzd(BigDecimal zjzd) {
        this.zjzd = zjzd;
    }

    public Integer getRange1() {
        return range1;
    }

    public RunfastGoodsSellRecord withRange1(Integer range1) {
        this.setRange1(range1);
        return this;
    }

    public void setRange1(Integer range1) {
        this.range1 = range1;
    }

    public Integer getStype() {
        return stype;
    }

    public RunfastGoodsSellRecord withStype(Integer stype) {
        this.setStype(stype);
        return this;
    }

    public void setStype(Integer stype) {
        this.stype = stype;
    }

    public String getCouponname() {
        return couponname;
    }

    public RunfastGoodsSellRecord withCouponname(String couponname) {
        this.setCouponname(couponname);
        return this;
    }

    public void setCouponname(String couponname) {
        this.couponname = couponname == null ? null : couponname.trim();
    }

    public Integer getPayType() {
        return payType;
    }

    public RunfastGoodsSellRecord withPayType(Integer payType) {
        this.setPayType(payType);
        return this;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getOrderNumber() {
        return orderNumber;
    }

    public RunfastGoodsSellRecord withOrderNumber(Integer orderNumber) {
        this.setOrderNumber(orderNumber);
        return this;
    }

    public void setOrderNumber(Integer orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Date getAccptTime() {
        return accptTime;
    }

    public RunfastGoodsSellRecord withAccptTime(Date accptTime) {
        this.setAccptTime(accptTime);
        return this;
    }

    public void setAccptTime(Date accptTime) {
        this.accptTime = accptTime;
    }

    public Integer getIsaccpt() {
        return isaccpt;
    }

    public RunfastGoodsSellRecord withIsaccpt(Integer isaccpt) {
        this.setIsaccpt(isaccpt);
        return this;
    }

    public void setIsaccpt(Integer isaccpt) {
        this.isaccpt = isaccpt;
    }

    public Integer getPushType() {
        return pushType;
    }

    public RunfastGoodsSellRecord withPushType(Integer pushType) {
        this.setPushType(pushType);
        return this;
    }

    public void setPushType(Integer pushType) {
        this.pushType = pushType;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public RunfastGoodsSellRecord withUserPhone(String userPhone) {
        this.setUserPhone(userPhone);
        return this;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone == null ? null : userPhone.trim();
    }

    public Integer getAppOrwx() {
        return appOrwx;
    }

    public RunfastGoodsSellRecord withAppOrwx(Integer appOrwx) {
        this.setAppOrwx(appOrwx);
        return this;
    }

    public void setAppOrwx(Integer appOrwx) {
        this.appOrwx = appOrwx;
    }

    public Date getReadyTime() {
        return readyTime;
    }

    public RunfastGoodsSellRecord withReadyTime(Date readyTime) {
        this.setReadyTime(readyTime);
        return this;
    }

    public void setReadyTime(Date readyTime) {
        this.readyTime = readyTime;
    }

    public Date getDisTime() {
        return disTime;
    }

    public RunfastGoodsSellRecord withDisTime(Date disTime) {
        this.setDisTime(disTime);
        return this;
    }

    public void setDisTime(Date disTime) {
        this.disTime = disTime;
    }

    public Integer getErrend() {
        return errend;
    }

    public RunfastGoodsSellRecord withErrend(Integer errend) {
        this.setErrend(errend);
        return this;
    }

    public void setErrend(Integer errend) {
        this.errend = errend;
    }

    public Integer getTeamid() {
        return teamid;
    }

    public RunfastGoodsSellRecord withTeamid(Integer teamid) {
        this.setTeamid(teamid);
        return this;
    }

    public void setTeamid(Integer teamid) {
        this.teamid = teamid;
    }

    public String getTeamname() {
        return teamname;
    }

    public RunfastGoodsSellRecord withTeamname(String teamname) {
        this.setTeamname(teamname);
        return this;
    }

    public void setTeamname(String teamname) {
        this.teamname = teamname == null ? null : teamname.trim();
    }

    public Integer getIstimerefund() {
        return istimerefund;
    }

    public RunfastGoodsSellRecord withIstimerefund(Integer istimerefund) {
        this.setIstimerefund(istimerefund);
        return this;
    }

    public void setIstimerefund(Integer istimerefund) {
        this.istimerefund = istimerefund;
    }

    public Integer getIssubsidy() {
        return issubsidy;
    }

    public RunfastGoodsSellRecord withIssubsidy(Integer issubsidy) {
        this.setIssubsidy(issubsidy);
        return this;
    }

    public void setIssubsidy(Integer issubsidy) {
        this.issubsidy = issubsidy;
    }

    public BigDecimal getLessps() {
        return lessps;
    }

    public RunfastGoodsSellRecord withLessps(BigDecimal lessps) {
        this.setLessps(lessps);
        return this;
    }

    public void setLessps(BigDecimal lessps) {
        this.lessps = lessps;
    }

    public BigDecimal getSubsidy() {
        return subsidy;
    }

    public RunfastGoodsSellRecord withSubsidy(BigDecimal subsidy) {
        this.setSubsidy(subsidy);
        return this;
    }

    public void setSubsidy(BigDecimal subsidy) {
        this.subsidy = subsidy;
    }

    public Integer getAgree() {
        return agree;
    }

    public RunfastGoodsSellRecord withAgree(Integer agree) {
        this.setAgree(agree);
        return this;
    }

    public void setAgree(Integer agree) {
        this.agree = agree;
    }

    public String getContent1() {
        return content1;
    }

    public RunfastGoodsSellRecord withContent1(String content1) {
        this.setContent1(content1);
        return this;
    }

    public void setContent1(String content1) {
        this.content1 = content1 == null ? null : content1.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", businessId=").append(businessId);
        sb.append(", businessName=").append(businessName);
        sb.append(", content=").append(content);
        sb.append(", createTime=").append(createTime);
        sb.append(", goodsSellId=").append(goodsSellId);
        sb.append(", goodsSellName=").append(goodsSellName);
        sb.append(", orderCode=").append(orderCode);
        sb.append(", price=").append(price);
        sb.append(", status=").append(status);
        sb.append(", userAddress=").append(userAddress);
        sb.append(", userId=").append(userId);
        sb.append(", userMobile=").append(userMobile);
        sb.append(", userName=").append(userName);
        sb.append(", shopper=").append(shopper);
        sb.append(", shopperId=").append(shopperId);
        sb.append(", goodsTotal=").append(goodsTotal);
        sb.append(", userAddressId=").append(userAddressId);
        sb.append(", yhprice=").append(yhprice);
        sb.append(", packing=").append(packing);
        sb.append(", showps=").append(showps);
        sb.append(", statStr=").append(statStr);
        sb.append(", endDate=").append(endDate);
        sb.append(", rid=").append(rid);
        sb.append(", startDate=").append(startDate);
        sb.append(", totalpay=").append(totalpay);
        sb.append(", distance=").append(distance);
        sb.append(", iswithdraw=").append(iswithdraw);
        sb.append(", address=").append(address);
        sb.append(", businessDel=").append(businessDel);
        sb.append(", isPay=").append(isPay);
        sb.append(", isRefund=").append(isRefund);
        sb.append(", userDel=").append(userDel);
        sb.append(", isComent=").append(isComent);
        sb.append(", isReceive=").append(isReceive);
        sb.append(", isCancel=").append(isCancel);
        sb.append(", commisson=").append(commisson);
        sb.append(", shopperMoney=").append(shopperMoney);
        sb.append(", businessAddressLat=").append(businessAddressLat);
        sb.append(", businessAddressLng=").append(businessAddressLng);
        sb.append(", userAddressLat=").append(userAddressLat);
        sb.append(", userAddressLng=").append(userAddressLng);
        sb.append(", businessAddr=").append(businessAddr);
        sb.append(", businesspay=").append(businesspay);
        sb.append(", refund=").append(refund);
        sb.append(", isDeliver=").append(isDeliver);
        sb.append(", qrcode=").append(qrcode);
        sb.append(", refundcontext=").append(refundcontext);
        sb.append(", businessget=").append(businessget);
        sb.append(", cityId=").append(cityId);
        sb.append(", cityName=").append(cityName);
        sb.append(", countyId=").append(countyId);
        sb.append(", countyName=").append(countyName);
        sb.append(", townId=").append(townId);
        sb.append(", townName=").append(townName);
        sb.append(", agentId=").append(agentId);
        sb.append(", agentName=").append(agentName);
        sb.append(", businessMobile=").append(businessMobile);
        sb.append(", noCharge=").append(noCharge);
        sb.append(", shopperMobile=").append(shopperMobile);
        sb.append(", shopperSign=").append(shopperSign);
        sb.append(", activityId=").append(activityId);
        sb.append(", activityname=").append(activityname);
        sb.append(", activityprice=").append(activityprice);
        sb.append(", disprice=").append(disprice);
        sb.append(", distributionTime=").append(distributionTime);
        sb.append(", oldShopper=").append(oldShopper);
        sb.append(", oldShopperId=").append(oldShopperId);
        sb.append(", oldShopperMobile=").append(oldShopperMobile);
        sb.append(", agentget=").append(agentget);
        sb.append(", aceptTime=").append(aceptTime);
        sb.append(", payTime=").append(payTime);
        sb.append(", ismute=").append(ismute);
        sb.append(", isClearing=").append(isClearing);
        sb.append(", refundTime=").append(refundTime);
        sb.append(", refundType=").append(refundType);
        sb.append(", agentBusget=").append(agentBusget);
        sb.append(", acoefficient=").append(acoefficient);
        sb.append(", acoefficient2=").append(acoefficient2);
        sb.append(", agentBusget2=").append(agentBusget2);
        sb.append(", coefficient=").append(coefficient);
        sb.append(", isfirst=").append(isfirst);
        sb.append(", ptype=").append(ptype);
        sb.append(", zjzd=").append(zjzd);
        sb.append(", range1=").append(range1);
        sb.append(", stype=").append(stype);
        sb.append(", couponname=").append(couponname);
        sb.append(", payType=").append(payType);
        sb.append(", orderNumber=").append(orderNumber);
        sb.append(", accptTime=").append(accptTime);
        sb.append(", isaccpt=").append(isaccpt);
        sb.append(", pushType=").append(pushType);
        sb.append(", userPhone=").append(userPhone);
        sb.append(", appOrwx=").append(appOrwx);
        sb.append(", readyTime=").append(readyTime);
        sb.append(", disTime=").append(disTime);
        sb.append(", errend=").append(errend);
        sb.append(", teamid=").append(teamid);
        sb.append(", teamname=").append(teamname);
        sb.append(", istimerefund=").append(istimerefund);
        sb.append(", issubsidy=").append(issubsidy);
        sb.append(", lessps=").append(lessps);
        sb.append(", subsidy=").append(subsidy);
        sb.append(", agree=").append(agree);
        sb.append(", content1=").append(content1);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}